//
//  RextExtends.m
//  JxCarios
//
//  Created by xcq on 15/1/22.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "RextExtends.h"

@implementation RextExtends

+ (CGFloat)getThisViewX:(UIView *)view {
    return view.frame.origin.x;
}

+ (CGFloat)getThisViewY:(UIView *)view {
    return view.frame.origin.y;
}

+ (CGFloat)getThisViewWidth:(UIView *)view {
    return view.frame.size.width;
}

+ (CGFloat)getThisViewHeight:(UIView *)view {
    return view.frame.size.height;
}

+ (CGPoint)getThisViewOrigin:(UIView *)view {
    return view.frame.origin;
}

+ (CGSize)getThisViewSize:(UIView *)view {
    return view.frame.size;
}

+ (CGRect)getScreenFrame {
    return [UIScreen mainScreen].bounds;
}



@end
